-- GENERATED SPELL FOR [Furnace Guard] --


function spell0_22291(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(32736,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22291', 5285, 1)
end

function Sorts_22291(pUnit, Event)
local choix_sorts_22291 = math.random(0, 0)
if choix_sorts_22291 == 0 then
pUnit:RegisterEvent('spell0_22291', 1, 1)
end
end

function mob22291_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22291', math.random(1500, 3000), 1)
end

function mob22291_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22291_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22291_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22291, 1, 'mob22291_Action')
RegisterUnitEvent(22291, 2, 'mob22291_Leave')
RegisterUnitEvent(22291, 3, 'mob22291_Kill')
RegisterUnitEvent(22291, 4, 'mob22291_Die')
